#! /usr/bin/env python
#coding=utf-8
print 1+2
print 1==2
print 1-(2+2j)
print 2*8
print 2**4
print 4/3
print 4/3.0
print 4//3.0
print 9//4
print 9%4
print 9%4.0
print 2<<2
print 2>>2
print 5&3
print 5|3
print 5^3
print ~5
print not 1
print not 2
print not 0